package org.example.controller;

import org.example.service.TetsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author: lonni
 * @CreateTime: 2024-06-27  23:06
 * @Description:
 */
@RestController
@RequestMapping("t")
public class TestController {

    @Autowired
    private TetsService tetsService;

    @GetMapping("t1")
    public String index() {
        return tetsService.get();
    }


}
